﻿using System;
using System.Threading;
namespace RStein.PosterousReader.Common.SpecialOperations
{
  public interface IOperationFactory
  {
    IOperation CreateOperation(Action action);
    IOperation CreateOperation(Action action, Action<IOperation, Exception> exceptionHandler);
    IOperation CreateOperation(Action action, Action<IOperation, Exception> exceptionHandler, SynchronizationContext synchContext);
  }
}
